package top.cptr.simpleRpc.rpccore.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author Tiger_L
 * @version 1.0
 * @description 扫描路径配置
 * @date 2024/1/4 14:39
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.TYPE})
public @interface RpcConfig {

    String scanPath();
    String serverPath() default "/rpc";
    int port() default 8070;
}
